<div class="sesiones view">
<h2><?php  __('Sesiones');?></h2>
	<dl><?php $class = ' class="tabla_formulario"';?>
		<dt<?php echo $class;?>><?php __('Nombre'); ?></dt>
		<dd<?php echo $class;?>>
			<?php echo $sesione['Sesione']['nombre']; ?>
			&nbsp;
		</dd>
		<dt<?php  echo $class;?>><?php __('Tema'); ?></dt>
		<dd<?php  echo $class;?>>
			<?php echo $sesione['Tema']['nombre']; ?>
			&nbsp;
		</dd>
	</dl>
</div>
<div class="actions">
	<?php echo $this->Form->menu($this->Access->getMy('id'),$this->Access->getMy('group_id'));?>
</div>
<div class="related">
	<h3><?php __('Related Guias');?></h3>
	<?php if (!empty($sesione['Guia'])):?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php __('Id'); ?></th>
		<th><?php __('Nombre'); ?></th>
		<th><?php __('Sesione Id'); ?></th>
		<th class="actions"><?php __('Actions');?></th>
	</tr>
	<?php
		$i = 0;
		foreach ($sesione['Guia'] as $guia):
			$class = null;
			if ($i++ % 2 == 0) {
				$class = ' class="altrow"';
			}
		?>
		<tr<?php echo $class;?>>
			<td><?php echo $guia['id'];?></td>
			<td><?php echo $guia['nombre'];?></td>
			<td><?php echo $guia['sesione_id'];?></td>
			<td class="actions">
				<?php echo $this->Html->link(__('View', true), array('controller' => 'guias', 'action' => 'view', $guia['id'])); ?>
				<?php echo $this->Html->link(__('Edit', true), array('controller' => 'guias', 'action' => 'edit', $guia['id'])); ?>
				<?php echo $this->Html->link(__('Delete', true), array('controller' => 'guias', 'action' => 'delete', $guia['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $guia['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>

	<div class="actions">
		<ul>
			<li><?php echo $this->Html->link(__('New Guia', true), array('controller' => 'guias', 'action' => 'add'));?> </li>
		</ul>
	</div>
</div>
